package name.marz.to.go.ahg.core.exception;

import org.jsoup.nodes.Document;

public class CannotLoginException extends UserProcessException {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private static final String DEFAULT_MSG = "ログインできませんでした";
	private Document document;

	/**
	 * 
	 */
	public CannotLoginException() {
		this(DEFAULT_MSG);
	}

	/**
	 * @param message
	 * @param cause
	 */
	public CannotLoginException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * @param msg
	 */
	public CannotLoginException(String msg) {
		super(msg);
	}

	/**
	 * @param cause
	 */
	public CannotLoginException(Throwable cause) {
		this(DEFAULT_MSG,cause);
	}
	
	/**
	 * 
	 * @return
	 */
	public Document getDocument() {
		return document;
	}

	/**
	 * 
	 * @param document
	 */
	public void setDocument(Document document) {
		this.document = document;
	}
}
